﻿using System;


namespace ZFine.Domain.Entity
{
    /// <summary>
    /// 通知会员消息中间表
    /// </summary>
    public class SendMembersInfosEntity : IEntity<SendMembersInfosEntity>, ICreationAudited, IDeleteAudited, IModificationAudited
    {
        #region 常用的
        public string F_Id { get; set; }
        public string F_CreatorUserId { get; set; }
        public DateTime? F_CreatorTime { get; set; }
        /// <summary>
        /// 逻辑删除标记
        /// </summary>
        public bool? F_DeleteMark { get; set; }
        /// <summary>
        /// 删除实体的用户
        /// </summary>
        public string F_DeleteUserId { get; set; }
        /// <summary>
        /// 删除实体时间
        /// </summary>
        public DateTime? F_DeleteTime { get; set; }
        public string F_LastModifyUserId { get; set; }
        public DateTime? F_LastModifyTime { get; set; }
        #endregion

        /// <summary>
        /// 标题
        /// </summary>
        public virtual string Title { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        public virtual string Content { get; set; }
        /// <summary>
        /// 发送类型  2 会员
        /// </summary>
        public virtual int? Type { get; set; }
        /// <summary>
        /// 接收状态  是否有效
        /// </summary>
        public virtual bool? State { get; set; }
        /// <summary>
        /// 发送时间
        /// </summary>
        public virtual DateTime? SendTime { get; set; }

        /// 读取状态 （未读 已读 已删除）
        /// </summary>
        public virtual int? ReadState { get; set; }
        /// <summary>
        /// 读取时间
        /// </summary>
        public virtual DateTime? ReaDateTime { get; set; }
        public virtual string FromUserName { get; set; }//  发送者
        public virtual string SendUserName { get; set; }//  接受者
        public virtual string SendOfficeID { get; set; }// 发送消息ID
    }
}
